package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 异常情况对象 abnormal_events
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class AbnormalEvents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 异常情况id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long personId;

    /** 标题 */
    @Excel(name = "用户名")
    private String userName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 细节 */
    @Excel(name = "细节")
    private String detail;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String dealResult;

    /** 处理人员 */
    @Excel(name = "处理人员")
    private String oprUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setDealResult(String dealResult) 
    {
        this.dealResult = dealResult;
    }

    public String getDealResult() 
    {
        return dealResult;
    }
    public void setOprUser(String oprUser) 
    {
        this.oprUser = oprUser;
    }

    public String getOprUser() 
    {
        return oprUser;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("title", getTitle())
            .append("detail", getDetail())
            .append("createTime", getCreateTime())
            .append("dealResult", getDealResult())
            .append("oprUser", getOprUser())
            .toString();
    }
}
